<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎登陆轻松办公系统</title>

<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function sub(){
		var name= document.getElementById("value_1").value;
		var pass = document.getElementById("value_2").value;
		if(name==""||pass=="")
			return false;
		else
			return true;
	}
</script>
</head>
<body>


<div class="login">
    <div class="box png">
		<div class="logo png"></div>
		<div class="input">
			<div class="log">
			<form action="${pageContext.request.contextPath }/userAction_login" method="post" onsubmit="return sub()">
				<div class="tip" style="color: red; text-align: center;"><s:fielderror></s:fielderror></div>
				<div class="name">
					<label>用户名</label><input type="text" value="admin" class="text" id="value_1" placeholder="用户名" name="user_loginName" tabindex="1"/>
				</div>
				<div class="pwd">
					<label>密　码</label><input type="password" value="123456" class="text" id="value_2" placeholder="密码" name="user_password" tabindex="2"/>
					<input type="submit" class="submit" tabindex="3" value="登录"/>
					<div class="check"></div>
				</div>
			</form>
			</div>
		</div>
	</div>
    <div class="air-balloon ab-1 png"></div>
	<div class="air-balloon ab-2 png"></div>
    <div class="footer"></div>
</div>

<script type="text/javascript" src="${pageContext.request.contextPath }/js/jQuery.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/fun.base.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/script.js"></script>

</body>
</html>